package com.gopay.common.domain.sms;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.util.Date;
/*
 * Copyright (c) 2016. www.gopay.com.cn Inc.All rights reserved.
 * 文件名称 : SmsMassContent
 * 创建日期 : 17/6/19 18:53
 * Author  : baiyunpeng
 */
@Entity
@Table(name = "SMS_MASS_CONTENT")
public class SmsMassContent extends BaseEntity {
    private static final long serialVersionUID = 1510315053470238129L;
    public static final String SMS_MASS_CONTENT_SEQ = "SMS_MASS_CONTENT_SEQ";
    @Id
    @Column(name = "SMS_MASS_ID")
    public String getSmsId() {
        return smsId;
    }

    public void setSmsId(String smsId) {
        this.smsId = smsId;
    }
    @Column(name = "SMS_CONTENT")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    @Column(name = "CREATE_TS")
    public Date getCreatTs() {
        return creatTs;
    }

    public void setCreatTs(Date creatTs) {
        this.creatTs = creatTs;
    }
    @Column(name = "SMS_EXCLE_URL")
    public String getExcelUrl() {
        return excelUrl;
    }

    public void setExcelUrl(String excelUrl) {
        this.excelUrl = excelUrl;
    }
    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastTsUpd) {
        this.lastUpdTs = lastTsUpd;
    }

    @Column(name = "SEND_TIME")
    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    /**
     *  <option value="0">待发送</option>
     *  <option value="1">已发送</option>
     *  <option value="2">发送已取消</option>
     *  <option value="3">发送中</option>
     * @return
     */
    @Column(name = "SEND_STATUS")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Column(name = "SEND_OPERATOR")
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
    @Column(name = "SEND_COUNT")
    public Integer getSendCount() {
        return sendCount;
    }

    public void setSendCount(Integer sendCount) {
        this.sendCount = sendCount;
    }

    @Version
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    private String smsId;
    private String content;
    private Date creatTs;
    private Date lastUpdTs;
    private Integer version;
    private String excelUrl;
    private Date  sendTime;
    private String operator;
    private String status;
    private Integer sendCount;
}